import Vue from 'vue'
import FastClick from 'fastclick'
import App from './App'
import router from './router'
import {
  AlertPlugin,
  ToastPlugin
} from 'vux'
import 'babel-polyfill'
import store from './store.js'

Vue.use(AlertPlugin)
Vue.use(ToastPlugin)

FastClick.attach(document.body)
Vue.config.productionTip = false

new Vue({
  router,
  store: store,
  render: h => h(App)
}).$mount('#app-box')
